Skip to content

ci: publish CRD manifests to release assets#1713

Merged
liu-cong merged 1 commit into
llm-d:mainfrom
liu-cong:crd-release-assets-main
Jun 22, 2026
Merged

ci: publish CRD manifests to release assets#1713
liu-cong merged 1 commit into
llm-d:mainfrom
liu-cong:crd-release-assets-main

Conversation

@liu-cong

@liu-cong liu-cong commented Jun 22, 2026

Copy link
Copy Markdown
Member

This PR adds a release artifacts generation rule and configures the release workflow to build and attach experimental-manifests.yaml (as well as v1-manifests.yaml and manifests.yaml if they are not empty) to release assets.

Instead of modifying the kustomization files, this PR introduces a select(.spec.group == "llm-d.ai") filter in the Makefile to cleanly select only local CRDs for build/release, keeping the kustomization root untouched and clean.

E2E Test Results

The release workflow changes have been successfully verified on a personal fork (liu-cong/llm-d-router):

@github-actions github-actions Bot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Jun 22, 2026
@liu-cong
liu-cong marked this pull request as ready for review June 22, 2026 21:30
@liu-cong
liu-cong requested a review from a team as a code owner June 22, 2026 21:30
@liu-cong
liu-cong requested review from ahg-g, Copilot and elevran June 22, 2026 21:30
ahg-g
ahg-g previously approved these changes Jun 22, 2026
@ahg-g

ahg-g commented Jun 22, 2026

Copy link
Copy Markdown
Collaborator

Do we need to patch against the release branch?

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds a release-artifact generation pathway for CRD manifests and updates the CRD kustomization layout so release artifacts can be built from config/crd/bases (excluding third-party/upstream CRDs) and uploaded as GitHub Release assets.

Changes:

  • Add a make artifacts target to generate manifests.yaml, plus split outputs into v1-manifests.yaml and experimental-manifests.yaml.
  • Restructure config/crd kustomization to reference a bases/ kustomization directory rather than enumerating local CRD files directly.
  • Extend the release workflow with an upload-artifacts job that builds and uploads non-empty manifest files to the Release.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 4 comments.

File Description
Makefile Adds a release artifact build target for CRD manifests and splits v1 vs non-v1 outputs.
config/crd/kustomization.yaml Updates the CRD root kustomization to include the bases directory.
config/crd/bases/kustomization.yaml Introduces a bases kustomization that lists local CRD YAML resources.
.github/workflows/ci-release.yaml Adds a job to generate and upload CRD manifest artifacts to GitHub Releases.

Comment thread Makefile Outdated
Comment thread Makefile Outdated
Comment thread Makefile Outdated
Comment thread .github/workflows/ci-release.yaml
@liu-cong

Copy link
Copy Markdown
Member Author

Do we need to patch against the release branch?

I will cherry pick this to release branch.

@liu-cong liu-cong mentioned this pull request Jun 22, 2026
@liu-cong
liu-cong force-pushed the crd-release-assets-main branch from 72b71a3 to 3ba3637 Compare June 22, 2026 21:40
Signed-off-by: Cong Liu <conliu@google.com>
@liu-cong
liu-cong force-pushed the crd-release-assets-main branch from 3ba3637 to a6b6c35 Compare June 22, 2026 21:47
@liu-cong
liu-cong merged commit 8fa2015 into llm-d:main Jun 22, 2026
33 checks passed
liu-cong added a commit that referenced this pull request Jun 23, 2026
Signed-off-by: Cong Liu <conliu@google.com>
ahg-g pushed a commit that referenced this pull request Jun 26, 2026
* release: set LATENCY_PREDICTOR_TAG to v0.8.0-rc.1

Signed-off-by: Cong Liu <conliu@google.com>

* deps(go): bump llm-d-kv-cache to v0.9.0 (#1691)

Update github.com/llm-d/llm-d-kv-cache from v0.9.0-rc.1 to the
released v0.9.0.

Signed-off-by: Maroon Ayoub <mayoub@redhat.com>
Signed-off-by: Cong Liu <conliu@google.com>

* fix(chart): update latency predictor image path to match subchart nesting (#1683)

Signed-off-by: weizhoublue <weizhou.lan@daocloud.io>
Signed-off-by: Cong Liu <conliu@google.com>

* consume official latency predictor v0.8 release (#1729)

Signed-off-by: greg pereira <grpereir@redhat.com>

* ci: add artifacts target and upload-artifacts job for CRDs (#1713)

Signed-off-by: Cong Liu <conliu@google.com>

* fix: bump golang.org/x/crypto to v0.52.0 to resolve Trivy CVEs (#1720)

Bumps golang.org/x/crypto from v0.51.0 to v0.52.0 to fix 8 HIGH
severity CVEs (CVE-2026-39827 through CVE-2026-46598) that caused
the sidecar image Trivy scan to fail in CI.

Signed-off-by: Cong Liu <conliu@google.com>

* docs: assemble release notes for v0.9.0

Signed-off-by: llm-d-router-release-notes[bot] <287676111+llm-d-router-release-notes[bot]@users.noreply.github.com>

* revert the latency predictor change

Signed-off-by: Cong Liu <conliu@google.com>

* Update push-chart.sh

Signed-off-by: Cong Liu <conliu@google.com>

---------

Signed-off-by: Cong Liu <conliu@google.com>
Signed-off-by: Maroon Ayoub <mayoub@redhat.com>
Signed-off-by: weizhoublue <weizhou.lan@daocloud.io>
Signed-off-by: greg pereira <grpereir@redhat.com>
Signed-off-by: llm-d-router-release-notes[bot] <287676111+llm-d-router-release-notes[bot]@users.noreply.github.com>
Co-authored-by: Cong Liu <conliu@google.com>
Co-authored-by: Maroon Ayoub <maroon.ayoub@ibm.com>
Co-authored-by: weizhoublue <45163302+weizhoublue@users.noreply.github.com>
Co-authored-by: Greg Pereira <grpereir@redhat.com>
Co-authored-by: llm-d-router-release-notes[bot] <287676111+llm-d-router-release-notes[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/M Denotes a PR that changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants